package top.kpromise.fastdev.goods.mapper.goods;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.Map;

@Repository
public interface ISkuMapper {

    ArrayList<Map<String, Object>> search(@Param("searchKey") String searchKey,
                                          @Param("start") int start, @Param("pageSize") int pageSize);
    int searchCount(@Param("searchKey") String searchKey, @Param("start") int start,
                    @Param("pageSize") int pageSize);
}
